# Contributor: Erwan Rouchet <lucidiot@brainshit.fr>
# Maintainer: Erwan Rouchet <lucidiot@brainshit.fr>
pkgname=qqwing
pkgver=1.3.4
pkgrel=0
pkgdesc="Sudoku generating and solving software"
arch="all"
url='https://qqwing.com/'
license="GPL-2.0-or-later"
source="https://qqwing.com/qqwing-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev"
options="!check" # no tests

prepare() {
	default_prepare
	update_config_guess
	update_config_sub
}

build() {
	./configure \
		--prefix=/usr \
		--build=$CBUILD \
		--host=$CHOST
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
6762b97d7595e7831edb80d9fac06ca784c6dfb6c5717e72adaac6973ec94bec417806f8ae4b80ed95b876388c8c1a00906b0fa8653a115998c5170db25aab0d  qqwing-1.3.4.tar.gz
"
